package lesson;

public class lesson070 {
    public static void main(String[] args) {
        double min = getMin(3.5,2.7);
        System.out.println(min);
    }
    public static double getMin(double a,double b){
        double min;
        if(a<b){
            min = a;
        }
        else{
            min = b;
        }
        return min;
    }
}
